package ch07.proxy.extra.staticProxy;

import java.util.Random;

/**
 * @description: 实现汽车行驶动作
 * @author: Fesine
 * @createTime:2016/9/8 18:49
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/9/8 18:49
 */
public class Car implements Moveable {
    public void move() {
        try {
            Thread.sleep(new Random().nextInt(1000));
            System.out.println("汽车行驶中...");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
